package com.example.sls.pojo.field;

import java.time.LocalTime;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * 场地预约表(FieldBookings)表实体类
 *
 * @author 蓝江富
 * @since 2024-06-18 10:55:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FieldBookings implements Serializable {
  //主键
  private Integer id;
  //用户ID
  private Integer userId;
  //场地ID
  private Integer fieldId;
  //预约日期
  private Date bookingDate;
  //开始时间
  private LocalTime startTime;
  //结束时间
  private LocalTime endTime;
  //参与人数
  private Integer participants;
  //是否需要公共运动装备
  private Integer needEquipment;
  //创建时间
  private Date createdAt;

}

